Resource Sites https://regexr.com/ -create regular expression https://en.wikipedia.org/wiki/Lorem_ipsum -get lorem ipsum words 
JavaScript Methods Reference 
The Document method querySelector() returns the first Element within the document that matches the specified selector, or group of selectors. If no matches are found, null is returned. element = document.querySelector(selectors); The Console method dir() displays an interactive list of the properties of the specified 
JavaScript object. console.dir(object); The replace() method returns a new string with some or all matches of a pattern replaced by a 
replacement. The pattern can be a string or a RegExp, and the replacement can be a string or a function to be called for each match. If pattern is a string, only the first occurrence will be replaced. 
const newStr = str.replace(regexp|substr, newSubstr|function) The split() method divides a String into an ordered list of substrings, puts these substrings into 
an array, and returns the array. The division is done by searching for a pattern; where the pattern is provided as the first parameter in the method's call. str.split([separator[, limit]]) The sort() method sorts the elements of an array in place and returns the sorted array. The 
default sort order is ascending, built upon converting the elements into strings, then comparing their sequences of UTF-16 code units values. 
arr.sort([compareFunction]) The Math.random() function returns a floating-point, pseudo-random number in the range 0 to less than 1 (inclusive of 0, but not 1) with approximately uniform distribution over that range  which you can then scale to your desired range. 
Math.random() 
The conditional (ternary) operator is the only JavaScript operator that takes three operands: a condition followed by a question mark (?), then an expression to execute if the condition is truthy followed by a colon (:), and finally the expression to execute if the condition is falsy. This operator is frequently used as a shortcut for the if statement. 
condition ? exprIfTrue : exprIfFalse 

